package com.qzdsoft.erpcloud.service.stock;

import java.util.List;

import com.qzdsoft.erpcloud.domain.stock.StockOutbound;
import com.qzdsoft.erpcloud.vo.pu.PurchaseOrderEditInfo;
import com.qzdsoft.erpcloud.vo.stock.StockOutboundEditInfo;
import com.qzdsoft.erpcloud.vo.stock.StockOutboundInfo;
import com.qzdsoft.erpcloud.vo.stock.StockOutboundQueryInfo;
import com.qzdsoft.vo.LayTableResponse;
import com.qzdsoft.vo.Response;

public interface StockOutBoundService
{

    /**
     * 根据指定条件查询采购订单
     * @param info
     * @return
     */
    LayTableResponse<StockOutboundInfo> findPurchaseOrdersBy(StockOutboundQueryInfo info);
    
    StockOutboundInfo findOrdersBy(Integer id);
    
    StockOutbound findOne(Integer id);
    
    Response<StockOutboundInfo> edit(StockOutboundEditInfo info);
    
    Response<String> save(StockOutbound info);
    
    Response<String> delete(Integer id);
    
    Response<String> review(Integer id,Integer status);
    
    //根据公司id查询已审核出库单据
    List<StockOutbound> selectReviewOrderByCompanyId(StockOutbound record);
    
    //采购订单转采购退货单
    Response<String> trasnlation(PurchaseOrderEditInfo info);
    
}
